package sh.wn36.vehiclemanage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import sh.wn36.vehiclemanage.entity.InsuranceRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.xzy.InsuranceInfo;
import sh.wn36.vehiclemanage.entity.entity_cjl.reminder.Reminder_insuranceRecordService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface InsuranceRecordService extends IService<InsuranceRecord> {

    IPage<InsuranceInfo>getAll(Page<InsuranceInfo> page, @Param(Constants.WRAPPER)  QueryWrapper<InsuranceInfo> wrapper);
    List<Reminder_insuranceRecordService> listReminder_insuranceRecordService();

    List<Map<String, Object>> reportList();

    List<Map<String, Object>> queryReportByCarId(Integer carId);
}
